PDF for UWP | ComponentOne
C1.Xaml.Pdf Namespace / C1PdfDocument Class / DrawImage Method / DrawImage(Int32,Int32,Int32[],Rect,Rect) Method
The width of thne image in pixels.
The height of thne image in pixels.
The ARGB color array.
Windows.Foundation.Rect structure that specifies the location of the drawn image, in points from the top left corner of the page.
Windows.Foundation.Rect structure that specifies a clipping rectangle on the page. No part of the image is drawn outside the clipping rectangle.

In This Topic
    DrawImage(Int32,Int32,Int32[],Rect,Rect) Method
    In This Topic
    Draws the specified ARGB pixels at the specified location, clipping the output to the given clipping rectangle.
    Syntax
    'Declaration
     
    
    Public Overloads Sub DrawImage( _
       ByVal width As Integer, _
       ByVal height As Integer, _
       ByVal pixels() As Integer, _
       ByVal rc As Rect, _
       ByVal rcClip As Rect _
    ) 
    public void DrawImage( 
       int width,
       int height,
       int[] pixels,
       Rect rc,
       Rect rcClip
    )

    Parameters

    width
    The width of thne image in pixels.
    height
    The height of thne image in pixels.
    pixels
    The ARGB color array.
    rc
    Windows.Foundation.Rect structure that specifies the location of the drawn image, in points from the top left corner of the page.
    rcClip
    Windows.Foundation.Rect structure that specifies a clipping rectangle on the page. No part of the image is drawn outside the clipping rectangle.
    See Also